package my.test.proxyPattern.simple;

import my.test.proxyPattern.IGamePlayer;

public class Client {

    public static void main(String[] args) {
        IGamePlayer proxy = new GamePlayerProxy("张三");
        System.out.println("开始时间为：2018-8-25 10:45");
        proxy.login("zhangsan", "password");
        proxy.killBoss();
        proxy.upgrade();
        System.out.println("结束时间为：2018-8-25 12:45");
    }
}
